package com.indexingsystem.boss.bo;

import java.io.Serializable;
import java.util.Date;

import com.indexingsystem.boss.entity.Pusers;

/**
 * session 用户Bo.
 * 
 * @author Administrator
 *
 */
public class UserOnlineBo extends Pusers implements Serializable {

	/**
	 * 序列化.
	 */
	private static final long serialVersionUID = -2391056715871279651L;
	// Session Id
	private String sessionId;
	// Session Host
	private String host;
	// Session创建时间
	private Date startTime;
	// Session最后交互时间
	private Date lastAccess;
	// Session timeout
	private long timeout;
	// session 是否踢出
	private boolean sessionStatus = Boolean.TRUE;

	public UserOnlineBo() {
	}

	public UserOnlineBo(Pusers user) {
		super(user);
	}
	

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getLastAccess() {
		return lastAccess;
	}

	public void setLastAccess(Date lastAccess) {
		this.lastAccess = lastAccess;
	}

	public long getTimeout() {
		return timeout;
	}

	public void setTimeout(long timeout) {
		this.timeout = timeout;
	}

	public boolean isSessionStatus() {
		return sessionStatus;
	}

	public void setSessionStatus(boolean sessionStatus) {
		this.sessionStatus = sessionStatus;
	}
}